import React from 'react'
import logo from './logo.svg'
import './App.css'
// import UseStateDemo from './hooks/UseStateDemo'
// import UseRefDemo from './hooks/UseRefDemo'
import { RouterProvider } from 'react-router-dom'
import router from './router'

function App () {
  return (
    <div>
      {/* <UseStateDemo /> */}
      {/* <UseRefDemo /> */}
      {/* 一级路由出口搞定，但是嵌套路由需要单配配置路由出口 */}
      <RouterProvider router={router} />
    </div>
  )
}

export default App
